package com.xdb.presistence.metadata;

import java.util.ArrayList;
import java.util.List;

import com.xdb.presistence.index.XDBIndex;
/**
 * 索引元信息
 * @author woate
 *
 */
public class IndexMetadata {
	/**
	 * 关联的表元信息
	 */
	TableMetadata tableMetadata;
	/**
	 * 索引关键字段
	 */
	final List<String> indexKeywords = new ArrayList<String>();
	/**
	 * 表关键字段
	 */
	final List<String> tableKeywords = new ArrayList<String>();
	/**
	 * 索引对应的抽象对象
	 */
	XDBIndex index;

	public TableMetadata getTableMetadata() {
		return tableMetadata;
	}
	public void setTableMetadata(TableMetadata tableMetadata) {
		this.tableMetadata = tableMetadata;
	}
	public List<String> getIndexKeywords() {
		return indexKeywords;
	}
	public List<String> getTableKeywords() {
		return tableKeywords;
	}
	public XDBIndex getIndex() {
		return index;
	}
	public void setIndex(XDBIndex index) {
		this.index = index;
	}
	
}
